'''字符串切片'''

# 字符串不能增删改，列表可以
s1 = 'hello world'
s2 = s1[:5]
s3 = s1[6:]
s4 = '!'
s5 = s2 + s4 + s3
print(s5)